github.com/refraction-networking/utls.Conn.out (field)

58 uses

	github.com/refraction-networking/utls (current package)
		conn.go#L105: 	in, out   halfConn
		conn.go#L839: 		return c.out.setErrorLocked(&net.OpError{Op: "local error", Err: err})
		conn.go#L856: 	return c.out.setErrorLocked(&net.OpError{Op: "local error", Err: err})
		conn.go#L861: 	c.out.Lock()
		conn.go#L862: 	defer c.out.Unlock()
		conn.go#L906: 	payloadBytes := tcpMSSEstimate - recordHeaderLen - c.out.explicitNonceLen()
		conn.go#L907: 	if c.out.cipher != nil {
		conn.go#L908: 		switch ciph := c.out.cipher.(type) {
		conn.go#L910: 			payloadBytes -= c.out.mac.Size()
		conn.go#L920: 			payloadBytes -= c.out.mac.Size()
		conn.go#L980: 		c.quicWriteCryptoData(c.out.level, data)
		conn.go#L1026: 		outBuf, err = c.out.encrypt(outBuf, data[:m], c.config.rand())
		conn.go#L1038: 		if err := c.out.changeCipherSpec(); err != nil {
		conn.go#L1050: 	c.out.Lock()
		conn.go#L1051: 	defer c.out.Unlock()
		conn.go#L1067: 	c.out.Lock()
		conn.go#L1068: 	defer c.out.Unlock()
		conn.go#L1223: 	c.out.Lock()
		conn.go#L1224: 	defer c.out.Unlock()
		conn.go#L1226: 	if err := c.out.err; err != nil {
		conn.go#L1249: 		if _, ok := c.out.cipher.(cipher.BlockMode); ok {
		conn.go#L1252: 				return n, c.out.setErrorLocked(err)
		conn.go#L1259: 	return n + m, c.out.setErrorLocked(err)
		conn.go#L1353: 		c.out.Lock()
		conn.go#L1354: 		defer c.out.Unlock()
		conn.go#L1364: 			c.out.setErrorLocked(err)
		conn.go#L1368: 		newSecret := cipherSuite.nextTrafficSecret(c.out.trafficSecret)
		conn.go#L1369: 		c.out.setTrafficSecret(cipherSuite, QUICEncryptionLevelInitial, newSecret)
		conn.go#L1474: 	c.out.Lock()
		conn.go#L1475: 	defer c.out.Unlock()
		conn.go#L1603: 			c.out.Lock()
		conn.go#L1604: 			if !errors.As(c.out.err, &a) {
		conn.go#L1607: 			c.out.Unlock()
		handshake_client.go#L574: 	c.out.version = vers
		handshake_client.go#L893: 	c.out.prepareCipherSpec(c.vers, clientCipher, clientHash)
		handshake_client_tls13.go#L657: 	c.out.setTrafficSecret(hs.suite, QUICEncryptionLevelHandshake, clientSecret)
		handshake_client_tls13.go#L1006: 		verifyData: hs.suite.finishedHash(c.out.trafficSecret, hs.transcript),
		handshake_client_tls13.go#L1013: 	c.out.setTrafficSecret(hs.suite, QUICEncryptionLevelApplication, hs.trafficSecret)
		handshake_server.go#L183: 	c.out.version = c.vers
		handshake_server.go#L806: 	c.out.prepareCipherSpec(c.vers, serverCipher, serverHash)
		handshake_server_tls13.go#L769: 	c.out.setTrafficSecret(hs.suite, QUICEncryptionLevelHandshake, serverSecret)
		handshake_server_tls13.go#L894: 		verifyData: hs.suite.finishedHash(c.out.trafficSecret, hs.transcript),
		handshake_server_tls13.go#L907: 	c.out.setTrafficSecret(hs.suite, QUICEncryptionLevelApplication, serverSecret)
		u_conn.go#L407: 			c.out.Lock()
		u_conn.go#L408: 			if !errors.As(c.out.err, &a) {
		u_conn.go#L411: 			c.out.Unlock()
		u_conn.go#L444: 	c.out.Lock()
		u_conn.go#L445: 	defer c.out.Unlock()
		u_conn.go#L447: 	if err := c.out.err; err != nil {
		u_conn.go#L470: 		if _, ok := c.out.cipher.(cipher.BlockMode); ok {
		u_conn.go#L473: 				return n, c.out.setErrorLocked(err)
		u_conn.go#L480: 	return n + m, c.out.setErrorLocked(err)
		u_conn.go#L681: 	if outCipher, ok := uconn.out.cipher.(cipher.AEAD); ok {
		u_conn.go#L683: 		return outCipher.Seal(nil, uconn.out.seq[:], zeros, nil), nil
		u_conn.go#L790: 			tlsConn.out.prepareCipherSpec(version, clientCipher, clientHash)
		u_conn.go#L793: 			tlsConn.out.prepareCipherSpec(version, serverCipher, serverHash)
		u_conn.go#L805: 		tlsConn.out.changeCipherSpec()
		u_conn.go#L808: 		tlsConn.out.incSeq()